import { constantRouterMap } from '@/router/index.js'

const permission = {
  state: {
    routers: constantRouterMap,
    addRouters: []
  },
  mutations: {},
  actions: {
    GenerateRoutes() {
      return new Promise(resolve => {
        resolve()
      })
    }
  }
}

export default permission
